using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace YABlog.BLL
{
    public class EntryBO
    {
        int id;
        string subject;
        string body;
        int cat_id;
        string catName;
        DateTime date;

        public EntryBO()
        {
            date = new DateTime();
        }

        public int ID
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }

        public int CAT_ID
        {
            get
            {
                return cat_id;
            }
            set
            {
                cat_id = value;
            }
        }

        public string Body
        {
            get
            {
                return body;
            }
            set
            {
                body = value;
            }
        }

        public string Subject
        {
            get
            {
                return subject;
            }
            set
            {
                subject = value;
            }
        }

        public string Category
        {
            get
            {
                return catName;
            }
            set
            {
                catName = value;
            }
        }

        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }
    }
}